package mest.service.hank.impl;

import mest.dao.hank.warehouse_productjob_takematerialMapper;
import mest.entity.warehouse_productjob_takematerial;
import mest.service.hank.WarehouseProductjobTakematerialService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class WarehouseProductjobTakematerialServiceImpl implements WarehouseProductjobTakematerialService {
    @Resource
    private warehouse_productjob_takematerialMapper wptm;
    @Override
    public int deleteByPrimaryKey(Integer id, String theirDb) {
        return wptm.deleteByPrimaryKey(id, theirDb);
    }

    @Override
    public int insert(warehouse_productjob_takematerial record, String theirDb) {
        return wptm.insert(record,  theirDb);
    }

    @Override
    public int insertSelective(warehouse_productjob_takematerial record, String theirDb) {
        return wptm.insert(record,  theirDb);
    }

    @Override
    public warehouse_productjob_takematerial selectByPrimaryKey(Integer id, String theirDb) {
        return wptm.selectByPrimaryKey(id,  theirDb);
    }

    @Override
    public int updateByPrimaryKeySelective(warehouse_productjob_takematerial record, String theirDb) {
        return wptm.updateByPrimaryKeySelective(record,  theirDb);
    }

    @Override
    public int updateByPrimaryKey(warehouse_productjob_takematerial record, String theirDb) {
        return wptm.updateByPrimaryKey(record, theirDb);
    }
}